package com.example.xzc.cainiaoshangcheng.Adapter;

import android.content.Context;

import com.example.xzc.cainiaoshangcheng.Adapter.BaseAdapter;
import com.example.xzc.cainiaoshangcheng.R;
import com.example.xzc.cainiaoshangcheng.ViewHolder.BaseViewHolder;

import java.util.List;

/**
 * @projectName: CaiNiaoShangCheng    ---------> 项目名称
 * @description: --------->描述
 * @author: xzc                              --------->作者
 * @date: 2017-03-13    --------->日期
 * @time: 23:11               --------->时间
 */

public class TestAdapter extends BaseAdapter<String,BaseViewHolder> {
    public TestAdapter(List<String> datas, Context context) {
        super(datas, context, R.layout.item);
    }

    @Override
    public void bindDatas(BaseViewHolder holder, String s) {
        holder.findTextView(R.id.tv_item).setText(s);
    }
}
